package com.eco.fanliapp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eco.fanliapp.entity.AppOrderDetail;
import com.eco.fanliapp.entity.AppOrderIntegral;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2019-12-25
 */
public interface AppOrderIntegralMapper extends BaseMapper<AppOrderIntegral> {

    AppOrderIntegral selectAppOrderIntegralByTradeId(Long tradeId);

    /**
     * 新增订单
     *
     * @param appOrderIntegral 订单信息
     * @return 结果
     */
    int insertAppOrderIntegral(AppOrderIntegral appOrderIntegral);
}
